extends Node

# 静态变量，确保只打印一次
@onready var version = ProjectSettings.get_setting("application/config/version")
@onready var version_type = ProjectSettings.get_setting("application/config/version_type")

@export var version_label: Label

# _ready 是在节点准备好后被调用的回调函数
func _ready():
	var versionstr = "Game Version: "+str(version)+"-"+str(version_type)
	print(versionstr)
	version_label.text = versionstr
